//--------------------------------------------
//
// copyright@2008,all right reserved by ax.
//
//
//     PROJECT   :   futrue
//
//     FILE      :   IView.h
//
//     PURPOSE   :   futrue project main file
//   
//     DATE      :   2008/10/01
//
//     AUTHOR    :   ax
//
//--------------------------------------------
#ifndef __FUTRUE_I_VIEW_H__
#define __FUTRUE_I_VIEW_H__
#include "BaseView.h"

int  BaseView::Init()
{
}
	virtual void UnInit() = 0;

	virtual int  Create(int nKey ) = 0;
	virtual int  Destroy() = 0;

	virtual int  DelView(int nKey) = 0;

	virtual IView* Find(int nKey)  = 0;


	//trigger server event
	//void TriggerServerEvent() = 0;
	
	virtual void OnServerEvent() = 0;
};
#endif